#ifndef extEEPROM_H_
#define extEEPROM_H_

class extEEPROM {
	//uint8_t spi_transfer(volatile byte);
	uint8_t readByte(unsigned long);
	void writeByte(unsigned long, const uint8_t);

	public:
		void init();
		uint8_t readStatus();
		void writeCoordPack(uint16_t address, Coordinate Coords2Store[]);
		Coordinate readCoord(uint16_t address);

};

extern extEEPROM spiPROM;

#endif